package com.cspg.ssss.repository;

import com.cspg.ssss.domain.SecurityRiskEntity;
import com.cspg.ssss.domain.SecurityRiskLogEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 安风体系评级服务
 */
@Mapper
public interface SecurityRiskMapper {

    List<SecurityRiskEntity> selectList();

    List<SecurityRiskLogEntity> selectLogList(Map<String,Object> map);
    
    String selectIdByDwmc(@Param("dwmc") String dwmc,@Param("dayTime") String dayTime);

    int insert(SecurityRiskEntity entity);

    int insertLog(SecurityRiskLogEntity entity);

    int update(SecurityRiskEntity entity);

    int selectWarring(@Param("dwmc") String dwmc);

    List<String> selectdwmcList();
}
